#ifndef _RENDERIMPL_H_
#define _RENDERIMPL_H_

#include "stdafx.h"

class CRenderImpl :		public  IPlugin,
						public  IPluginRun,
						public	CUnknownImp
{
public:
	CRenderImpl(void);
	virtual ~CRenderImpl(void);
	
	BEGIN_STDCOM_MAP
		STDCOM_INTERFACE_ENTRY(IPlugin)
		STDCOM_INTERFACE_ENTRY(IPluginRun)
	END_STDCOM_MAP

	//IPlugin
	std_method(Init)(int Argc, basic_tchar* Argv[], IBase* pRot, IBase* pBase);
	std_method(Uninit)();
	
	//IPluginRun
	std_method(Start)(_pinstance hInstance, UINT uType);
	std_method(Stop)(UINT uExitCode);

protected:
	_lComPtr<IComRunningObjectTable>	m_pRot;
};
#endif
